<?php
$path = 'E:\source\ZendFramework-1.9.3\library';
set_include_path(get_include_path(). PATH_SEPARATOR . $path);
$smartypath = 'E:\source\Smarty-2.6.26\Smarty-2.6.26\libs';
set_include_path(get_include_path(). PATH_SEPARATOR . $smartypath);

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Config_Ini');
Zend_Loader::loadClass('Zend_Registry');
Zend_Loader::loadClass('app');
$config = new Zend_Config_Ini('config.ini');
Zend_Registry::set('config', $config);

Zend_Loader::loadClass('template');
$tpl = new Template();
Zend_Registry::set('view', $tpl);
?>